﻿<Serializable()> _
Public Class ChartItem

	Private mlv As String
	<SS.ORM.Attributes.DatabaseField("LV")> _
	Public Property lv As String
		Get
			Return mlv
		End Get
		Set(ByVal value As String)
			mlv = value
		End Set
	End Property

	Private mofficer_id As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_ID")> _
	Public Property officer_id As String
		Get
			Return mofficer_id
		End Get
		Set(ByVal value As String)
			mofficer_id = value
		End Set
	End Property

	Private mofficer_app_id As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_APP_ID")> _
	Public Property officer_app_id As String
		Get
			Return mofficer_app_id
		End Get
		Set(ByVal value As String)
			mofficer_app_id = value
		End Set
	End Property

	Private moffcier_app_tel As String
	<SS.ORM.Attributes.DatabaseField("OFFCIER_APP_TEL")> _
	Public Property offcier_app_tel As String
		Get
			Return moffcier_app_tel
		End Get
		Set(ByVal value As String)
			moffcier_app_tel = value
		End Set
	End Property

	Private mofficer_firstname_tha As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_FIRSTNAME_THA")> _
	Public Property officer_firstname_tha As String
		Get
			Return mofficer_firstname_tha
		End Get
		Set(ByVal value As String)
			mofficer_firstname_tha = value
		End Set
	End Property

	Private mofficer_lastname_tha As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_LASTNAME_THA")> _
	Public Property officer_lastname_tha As String
		Get
			Return mofficer_lastname_tha
		End Get
		Set(ByVal value As String)
			mofficer_lastname_tha = value
		End Set
	End Property

	Private mofficer_status As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_STATUS")> _
	Public Property officer_status As String
		Get
			Return mofficer_status
		End Get
		Set(ByVal value As String)
			mofficer_status = value
		End Set
	End Property

	Private mofficer_downline_left As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_DOWNLINE_LEFT")> _
	Public Property officer_downline_left As String
		Get
			Return mofficer_downline_left
		End Get
		Set(ByVal value As String)
			mofficer_downline_left = value
		End Set
	End Property

	Private mofficer_downline_right As String
	<SS.ORM.Attributes.DatabaseField("OFFICER_DOWNLINE_RIGHT")> _
	Public Property officer_downline_right As String
		Get
			Return mofficer_downline_right
		End Get
		Set(ByVal value As String)
			mofficer_downline_right = value
		End Set
	End Property

	Private mleftrv As String
	<SS.ORM.Attributes.DatabaseField("LEFT_RV")> _
	Public Property leftrv As String
		Get
			If String.IsNullOrEmpty(mleftrv) Then
				Return "0"
			Else
				Return mleftrv
			End If
		End Get
		Set(ByVal value As String)
			mleftrv = value
		End Set
	End Property

	Private mrightrv As String
	<SS.ORM.Attributes.DatabaseField("RIGHT_RV")> _
	Public Property rightrv As String
		Get
			If String.IsNullOrEmpty(mrightrv) Then
				Return "0"
			Else
				Return mrightrv
			End If
		End Get
		Set(ByVal value As String)
			mrightrv = value
		End Set
	End Property

	Private mincomemyself As String
	<SS.ORM.Attributes.DatabaseField("INCOME_MYSELF")> _
 Public Property incomemyself As String
		Get
			If String.IsNullOrEmpty(mincomemyself) Then
				Return "0"
			Else
				Return mincomemyself
			End If
		End Get
		Set(ByVal value As String)
			mincomemyself = value
		End Set
	End Property

End Class
